/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MyPackage;

import java.util.*;

/**
 *
 * @author worawitp
 */
public class Command {

    public static int REGULAR_COMMAND = 1;
    public static int IF_COMMAND = 2;
    public static int FUNC_COMMAND = 3;

    public static int ON = 1;
    public static int OFF = 0;

    public int type;
    public int device_id;
    public String device_name;
    // 1 = on, 0 = off
    public int command;
    //if command type is if statement, use this part
    public List<Command> command_list1;
    public List<Command> command_list2;
    public List<Condition> condition_list;

    public String func_name;

    public String toString(){
      return "";
    }
}
